#ifndef _CHIPMUCKCONN_
#define _CHIPMUCKCONN_

struct chipmuck_callback {
	void (*bp_ret)(int ret, int index);
	void (*dm_ret)(int ret);
	void (*bp_touch)(int index);
	void (*disconnect)();
};

int chipmuck_connect();
void chipmuck_add_breakpoint(int type, const void *data, int len);
void chipmuck_dump_memory(unsigned int addr, void *buf, int len);
void chipmuck_set_callback(struct chipmuck_callback *callback);

#endif

